package com.qianf.qfoffice.entity;

import java.util.List;
import java.util.Map;

public class ShowExercise {

    /**
     * 查询习题种类
     */
    private List<String> showExerciseList;

    /**
     * 查询每个习题种类的数量
     * 但是前端data里面接受的是{value: num的值, name: 'category'},例如{value: 4, name: '习题种类'},
     * 就是说 showExerciseList 获取出来对应的习题种类后
     * showExerciseNumList要以Map(key,value)的形式获取 这个习题的数量 和 这个习题的名字
     * key="value" ,value="4"
     * key="name" ,value="习题”
     *
     */
    private List<Map> showExerciseNumList;

    public ShowExercise() {
    }

    public ShowExercise(List<String> showExerciseList, List<Map> showExerciseNumList) {
        this.showExerciseList = showExerciseList;
        this.showExerciseNumList = showExerciseNumList;
    }

    public List<String> getShowExerciseList() {
        return showExerciseList;
    }

    public void setShowExerciseList(List<String> showExerciseList) {
        this.showExerciseList = showExerciseList;
    }

    public List<Map> getShowExerciseNumList() {
        return showExerciseNumList;
    }

    public void setShowExerciseNumList(List<Map> showExerciseNumList) {
        this.showExerciseNumList = showExerciseNumList;
    }

    @Override
    public String toString() {
        return "ShowExercise{" +
                "showExerciseList=" + showExerciseList +
                ", showExerciseNumList=" + showExerciseNumList +
                '}';
    }
}
